﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.DrugTrade.Model
{
    /// <summary>
    /// 导入采购单专用实体
    /// </summary> 
    [Serializable]
    public class ImportPurchaseOrderDetail : IComparable<ImportPurchaseOrderDetail>
    {
        /// <summary>
        /// his系统ID
        /// </summary>
        public string HisDrugID { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int? PurchaseCount { get; set; }
        /// <summary>
        /// 采购价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc { get; set; }
        /// <summary>
        /// 包装
        /// </summary>
        public string Pack { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string CompanyName_SC { get; set; }

        #region IComparable<ImportPurchaseOrderDetail> Members

        public int CompareTo(ImportPurchaseOrderDetail other)
        {
            return string.Compare(HisDrugID, other.HisDrugID, true);
        }

        #endregion
    }
}
